<?php get_header();?>
<body>
<div id="topbg"></div>
<div id="container">
	<div id="header">
    	<?php include TEMPLATEPATH.'/controllers/banner/controller-banner.php';?>
        <?php require_once TEMPLATEPATH.'/views/menu/view-menu.php';?>
    </div>
    
    <div id="mid">
    	<div id="box-content">
            <!-- begin breadcrumb -->
            <?php require_once TEMPLATEPATH.'/views/breadcrumb/view-breadcrumb.php';?>
            <!-- end #breadcrumb -->
            <?php
            if(isset($_GET['s']))
				$ss = $_GET['s'];
			if($ss=="search-tours" && isset($_GET['destination_from']))
			{				
				require_once TEMPLATEPATH.'/views/tour/view-result-search-tour.php';
			}
			else if($ss=="search-hotels")
			{
				//include TEMPLATEPATH.'/views/hotel/view-search-hotel-form.php';
				?>
				<div id="content" class="pages-hotels-4-1">
                <!-- Begin slideshow -->
                <?php //include TEMPLATEPATH.'/views/hotel/view-page-hotel-intro.php';?>
                
                <!-- End slideshow -->   
                
                <?php include TEMPLATEPATH.'/views/hotel/view-search-hotel-form.php';?>                
                             
               <div class="tabs-2">
                    <span class="title">Search HOTELS</span>
                      	<div class="side-danh-muc-top">
                   
                    	</div>
                  <div id="content" class="page-searchresults" style="margin-top: -20px;">
	            	<div class="content-box-1">
	            		<span class="top-tabs-2"></span>
	                   <!-- <h1 class="label-content-box-1-top">Search Results</h1> -->
	                   <?php	                  
					    $html.='<ul>';                	    
					    include TEMPLATEPATH.'/views/hotel/process-search-hotel.php';                         
					 	$html.='</ul>';     
					 	echo $html;  
	                   ?>                   
	                   <div class="paging">
				            <?php bt_paginate();?>
						</div>
	                </div>
	                <?php include TEMPLATEPATH.'/views/testimonial/view-home-testimonial.php';?>
            	</div>   
               </div>
            </div>   
				<?php 
				//include TEMPLATEPATH.'/views/hotel/view-search-hotel-form.php';
				//include TEMPLATEPATH.'/views/hotel/process-search-hotel.php';
			}	 
			else 
			{
				if($_GET['search_current_page']=="tours")
				{
					require_once TEMPLATEPATH.'/views/tour/view-search-tour-normal.php';
				}
				else if($_GET['search_current_page']=="hotels")
				{
					require_once TEMPLATEPATH.'/views/hotel/view-search-hotel-normal.php';
				}
				else 
				{
				?>
				 <div id="content" class="page-news">
	            	<div class="content-box-1">
	                    <h1 class="label-content-box-1-top">NEWS</h1>
	                    <ul>
	                    	<?php
	                    	require_once TEMPLATEPATH.'/controllers/news/controller-danh-sach-tin.php'; 
	                    	?>                       
	                    </ul>
	                    <div class="paging">
				            <?php bt_paginate();?>
						</div>
						
	                </div>
	                <div class="clear"></div>
	                <?php //include TEMPLATEPATH.'/views/testimonial/view-home-testimonial.php';?>
	            </div> 
				<?php 	
				}	
			}
            ?>
              
        </div>
        
        <?php get_sidebar();?>
    </div>
    
    <?php //include TEMPLATEPATH.'/views/testimonial/view-home-testimonial.php';?>
    <?php get_footer('tour');?>
